package com.starleague.hexagonal;

public class HexOutOfBoundsException
        extends HexException
{
    public HexOutOfBoundsException(IHexGrid hexGrid,
                                   HasHexCoordinate hasHexCoordinate)
    {
        super("HasHexCoordinate : " + hasHexCoordinate + "\n\tis out of bounds for HexGrid : " + hexGrid);
    }

    public HexOutOfBoundsException(IHexGrid hexGrid,
                                   IHexCoordinate hexCoordinate)
    {
        super("IHexCoordinate : " + hexCoordinate + "\n\tis out of bounds for HexGrid : " + hexGrid);
    }
}
